package ch3.ex2;

import java.util.*;
import static ch3.print.Print.*;
public class CompareNumbersTest {
	public static void main(String[] args){
		Random r1 = new Random();
		Random r2 = new Random();
		
		for (int i = 0; i < 25; i++){
			int x = r1.nextInt();
			int y = r2.nextInt();
			if(x < y) println(x + " < " + y);
			else if(x > y) println(x + " > " + y);
			else println(x + " = " + y);
		}
		
		Random r3 = new Random();
		Random r4 = new Random();
		
		for (int i = 0; i < 25; i++){
			int x = r3.nextInt();
			int y = r4.nextInt();
			if(x < y) println(x + " < " + y);
			else if(x > y) println(x + " > " + y);
			else println(x + " = " + y);
		}
	}
}
